Update JViewLagacy getName()

Added support to use getName() with new MVC. Eg: if class name is ApplicationHtml, getName() return only 'application'