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
If there are only a few values that could be returned here we should list them.