feature(fielstore): add elgg_get_file_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