Added parameter for path to JSON_to_CPP.py

set path through --path that is the root directory for the code. The
default is None as this was the previous behavior, however this does not
make sense.

Also the path name is normalised as, depending on OS there is confusion
on slash direction.

Part of issue
#1