Prevent upload of binary data into non-binary directories.
Prevent upload of binary data into non-binary directories.

Edit form for text assets now displays an error for binary data. Allows delete if possible.

Also fix bug where clicking upload without specifying a file would 500. Now we 403 with a message telling the user to specify a file.
	Change on 2013/06/25 by johncox <johncox@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=48540218

andela-angene/coursebuilder-core,andela-angene/coursebuilder-core,andela-angene/coursebuilder-core,andela-angene/coursebuilder-core