feature(fielstore): add elgg_file_get_simple_type() to core API

Add elgg_file_get_simple_type() to core API and clean up the mess related to simple type parsing across core and file plugin
PHP documentor can document plugin hook handlers, but not the hook itself. We need a way to document the hook itself.