Single compilation unit for json_scanner code

Cosmetic change which fixes build issues for scrubs like me who would still like to use qmake after the change to the flex-based scanner. Functionally benign, but prevents qmake  from overwritting "json_scanner.o" when compiling both json_scanner.cpp and json_scanner.cc