Added underscore template handler functionality (_.json.phtml, _.csv.phtml, etc)
Moved entity table template to more general template so it can be reused for each entity type