Uncomment thumbnail tests
Decorate test functions that require Pillow JPEG support
actually look for an image to verify that a thumbnail has been generated
Update pillow to 2.6.1
Limit Upload File Sizes to GridFS.

This commit puts a limit on the size of files that
course staff can upload to MongoDB. The limit is
enforced on the frontend in javascript as well
as backend via the /upload endpoint.

The limit is hard-coded in cms/envs/common.py and
may be changed according to the user's custom
needs.

If the user tries to upload a file that's too
large, an error message will pop up, with a
customizable url that pointing the user to an
external page with an alternate upload procedure.
This url is specified im cms/envs/common.py.
If not set, this url will not be displayed.
Fix white spaces inside navigation
Change the default dir for loading xml files.
This should always be overridden by the testcases if needed.
Do not create a modulestore unnecessarily in tests
round-off weight, min_count and drop_count values while returing grading policy
TNL-884
Merge pull request #6092 from edx/zub/bugfix/tnl-884-save-weight-in-gradingpolicy

round-off weight value while returing grading policy
MA-182 Fix Mobile Subtitles.
Merge pull request #6221 from edx/hotfix/MA-182

MA-182 Fix Mobile Subtitles.
Merge pull request #4276 from edx/db/update-pillow

Update pillow to 2.6.1
Update pep8 to 1.5.7
Fixing pep8 issues
Ignore "deprecated form of raising exception" PEP8 warning

We do this intentionally, to preserve tracebacks
Address pylint issue from diff-cover
Merge pull request #6224 from edx/release

hotfix-2014-12-11
Merge pull request #5731 from Stanford-Online/ataki/upstream

Limit Upload File Sizes to GridFS
Implements keyword sub feature for bulk emails

This commit pulls in changes from #4487 that implements keyword
substitution for bulk emails. With these changes, an instructor can
include keywords in their bulk emails which will be automatically substituted
with the corresponding value for the recepient of the email. Keywords are
of the form %%keyword%%, and the keywords implemented in this commit include:

%%USER_ID%% => anonymous_user_id
%%USER_FULLNAME%% => user profile name
%%COURSE_DISPLAY_NAME%% => display name of the course
%%COURSE_END_DATE%% => end date of the course

Client-side validations have also been implemented to ensure that only emails
with well-formed keywords can be sent.
The architecture is designed such that adding in new keywords in the future
would be relatively straight-forward.