Move into JApplication base to fix unit tests
Remove code from the legacy application as in base
Add class name used in JApplicationCli
Use correct case classname
Remove classmap again
Merge pull request #257 from wilsonge/patch-25

Fix unit tests