Tidying up.

Removed debugging.
Added semi-colons to functions declared on the prototype to make jsLint
happier.
Added a (broken) test for private/public vars.
Updated gitignore to ignore generated files.
Fixed typo in gitignore.