Refactor the quick search code.

Remove the duplicate code and wrap it in a function so it can be
customised for the page it's being used on.
When inserting html tags don't do half a job.
Replace removeSpace() with Strings builtin trim().
Cleanup the TV show ui.
Cleanup the TV show backend.
Clean up and refactor tvshows/app.js
Clean up the rest of the TV show backend.
Update change log
Fix a typo in tvshow.js from 09afccd
Clean up tvshows/index.html
Use Ext.getCmp() to lookup rather than relying on global variables.
Merge branch 'feature/refactor-tv' into feature/refactor
Clean up Movie section html files
Cleanup the Movies ui.
Cleanup the Movies backend code.
Update change log.
Fix typo.
Cleanup global.js
Delete unused include/cast.js
Merge branch 'feature/refactor-movies' into feature/refactor