Fix LiftImport tests to allow for possible reordering of results based on the entries mongo id.

- Added an indexByGuid to the tests to give a guid based index into the list of entries.
JS: Add Eclipse formatter for AirBNB style guide

To use, go to Window->Preferences->Javascript->Code Style->Formatter and
click "Import...", then load the eclipseJavascriptFormatter.xml file.

Source: https://github.com/airbnb/javascript
Make rest of whitespace consistent with PSR-2

Commit b41889d converted most tabs to spaces in accordance with PSR-2,
but the conversion missed some tabs (mostly, but not exclusively, inside
comments). This commit is just whitespace changes, so that no actual
code differences will be masked by the commit, and converts the rest of
the tabs in the src/models and src/controllers directories to spaces.
basic upload functionality with server response data
Merge remote-tracking branch 'lf/master' into feature/fileupload
check for api permission. json encode in api
Fix forbidden from preventing access to non-project pages.
add test for mp3 upload allowed and mp4 upload disallowed
Move UploadResponse and sub-classes to their own files
fix up test
make allowance for upper case file extensions
Merge remote-tracking branch 'lf/master' into feature/fileupload