Added C++ compatibility to static library.
Removed unused field 'original' in parser_data.
Changed inputs to library functions to const which reduces the need to make copies of non-const inputs.
Added static library target to CMake project.