Fixed spacing in editorconfig
fixed jshint to enable indentation warnings
Fixed indentation in most of api files