Proxy some Joomla methods to the framework methods

I think there are some more methods that can be proxied but don't have the time at the moment. This is a good start.

It also deprecates the CMS class in favour of the framework class (can remove this if people want?)