Moving various admin controllers to use gflash popup notifications

Includes moving to use gflash for 

- cache
- pages
- profiles
- resources
- themes

Also noticed that there is an ugly error dump if you upload a resource, but do not select a file to upload. Add a minor check to make sure you're uploading some file.

If you'd rather, can squash these all into a single commit.