Merge pull request #1 from hroest/master

Fix typos
Added BSD 3-clause copies of all source code in the src/bsd directory.
Added maven pom file and cpp numSafe impl and tests
updated README with info on how to run tests
updated README with info on how to run tests
Fixed illegal memory access on corrupt input data, now throws exception string
Improved documentation
Updated to match Apache version
fixed assignment in testErroneousDecodePic()
Updated API to throw const char* for all detected corrupt input data while decoding. Also updated and added tests to reflect this.
[FIX] remove unnecessary header includes