make grantservice caching more generic, for queries that simply return a value

ironically, this makes it more difficult to cache grant titles and supervisor names to disk, which is probably a thing we should do
fix dialog rotation and add send request email functionality
the filterable dialog used for grants is now more generic, and crashes
slightly less often
updated to meet coding standards
updated to meet coding standards (part II)