Code style fixes; minor clean up

* Fix identation and whitespace.
* Consistent use of quotes.
* Remove unused variables.
* Remove unused dependencies.
* Add copyright banners where missing.
* Use function form of 'use strict'.
* Add missing semi-colons.
Merge pull request #171 from flightjs/chore/code-style-and-clean

Code style fixes; minor clean up