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
Also, I think the version should be a string, no?