Fixed bug where if the PHP upload_max_filesize was exceeded, the site would crash

Added upload.max filter, which checks if the given form adheres to the PHP ini
max post sizes

Cleaned up routes