Adds resolved file path normalization

Replace back slashes with forward slashes on windows.
Since get_cwd is normalized the same way, we need to
normalize this path too. Otherwise resolve_relative_path
will not work correctly on windows.
Adds better json encoding for source map output
Merge pull request #451 from mgreter/source_maps_win_rel_paths

Problem with relative path on windows and source maps