Lots of changes, complete rewrite of JS.
add new files
minor tweaks and changes.
misc cleanup
clean out old queue code.
Fix post request in example.
cleanup API

- support legacy methods and variables
- make logging internal to library
- add flag for debugging
Remove unused 'undefined' argument.
will's feedback
Merge pull request #1 from FindawayWorld/overhaul

Overhaul