Add support for singular folder names to legacy mvc classes.
Fix typos.
Update JViewLagacy getName()

Added support to use getName() with new MVC. Eg: if class name is ApplicationHtml, getName() return only 'application'
Merge pull request #93 from Buddhima/legacysingular

Update JViewLagacy getName()
Merge pull request #1139 from elinw/legacysingular

Add support for singular folder names to legacy mvc classes.