Fixed a bug that had binary stls be handled by the ascii stl parser.
Ascii stl files now should have their whitespace stripped when parsing.
Merge remote-tracking branch 'aeva/671_fix_stl'
piwigo: Start at pwg.images.addSimple.

Without a session and a logged in user, this can't go much
further.

Misses check for the file upload field.
Need refactored test tool for this.
piwigo: Fix pwg_getversion

This one needs to return just "2.5.0 (Mediagoblin)" instead
of "Piwigo 2...".
Use WTForms data field in edit/views.py
Use WTForms data field in submit/views.py
Use WTForms data field in plugins/oauth/views.py
auth: whitespace cleanup in views.py
Use WTForms data field in auth/views.py
Use WTForms data field in user_pages/views.py

Missed case in a previous commit.
Refactor file field checking.

When uploading, the file field needs some checks, it seems.
So refactor them into check_file_field and use around.
Warning that raven plugin is somewhat experimental!
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Merge remote-tracking branch 'JDShu/649_use_form_data_field'

* JDShu/649_use_form_data_field:
  Use WTForms data field in user_pages/views.py
  Use WTForms data field in auth/views.py
  auth: whitespace cleanup in views.py
  Use WTForms data field in plugins/oauth/views.py
  Use WTForms data field in submit/views.py
  Use WTForms data field in edit/views.py
A bit of pep8: Remove useless whitespace.
Little refactoring for images: media_files.

Set the media_files directly at the relvant places.
Create ProcessingState.store_public.

The ideas is by Alon Levy.

Use it in ProcessingState.copy_original for now.
All mediagoblin tests now pass with py.test (switched setUp to setup)
These tests need to have a MediaGoblin app setup so they can connect to the db!

Thanks to py.test --boxed for helping discover that ;)