Added remaining head tags in MY_Controller

Also refactored a bit how the js and css choose which files to minimize
if that option is selected. it checks if the file link is from an
outside source or if the name contains '.min.', and if either or true,
it will skip the minification process on those files