Move BitSource to common package so that it can be reused by Data Matrix decoder