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
Can you describe the parameters and default return value here as well. Want to expand our docs slowly but surely...