[#400] Add new IFacet interface

Fix controllers to use new IFacets and fix templates
deprecate helper function
Add FIXME to unrelated code
Deprecate helper function for real
Remove IPackageController.update_facet_titles()w
Fix bad variable name
Pass dataset type to IFacet functions