Fix an NPE that comes up in full testing from last commit

git-svn-id: http://zxing.googlecode.com/svn/trunk@2695 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Fix two other AIOOBE from pure barcode mode, update javadoc

git-svn-id: http://zxing.googlecode.com/svn/trunk@2696 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Merge remote-tracking branch 'zxing-main/http' into pdf417-dev
add logging
add logging and remove unused method
handle ambiguous values
create common toIntArray method and change code to use it
added documentation