New MVC GSOC 2014

https://groups.google.com/forum/#!topic/joomla-dev-cms/AH6piuw2IR0

http://gwilson.org/index.php/new-mvc
This whole method is too busy. If-elseif-else, if-else, if-elseif  I would say rethink this implementation to make its intention clearer.