Binding: Refurbishes binding to use new API.
Code: Cleanup.
Code: Mitigates chances of memory leaks.
Binding: Fixes for stats.
This code is ported from @mgreter's fork.
Code: Brings more optimizations.
Credit goes to @mgreter.
Errors: Convert errors to JS objects.
For CLI format as JSON with indent = 2.
Options: Adds options for source-maps varieties.
Also fixes the issue with destination path
being resolved w.r.t input, without accounting
for it being already absolute.
Source-map: Parse as JSON.
Code: Fixes condition is-output-path-relative.
Fixes #546.
Merge pull request #543 from am11/master

Binding: Refurbishes binding to use new API