Add bootstrap support to form function
Fix categories typo

Also adds success/warn message to display_file for after editing.
Switch to new form() usage
Rewrite edit file page
Formatting changes