Changed all indentation to two spaces, updated jshintrc to reflect this. Fixes #286.