Removes some more unused global variable declarations
Removes Smarty v3.1.14
Removes yui v3.11.0
Updates the remove old files upgrade script to reflect recent removals