Fix $app connection in Register Method

Register method failed to get a copy of the Application for all uses.
Task:MediaCore Including a new file to keep corejs media file changes, and including it and its dependencies in behavior.php TODO: Implement jQuery version in that file
Task:Core implementing mootools dependency removed core.js as a new file core-jquery-uncompressed.js
Modified functions: Joomla.renderMessages, Joomla.removeMessages
Task:Core Removed new JS file for the jQuery version of core.js and replacing the core-uncompressed.js with jQuery version, Fixing "Joomla" object not found error
Task:Core Including the compressed version of core.js and improving js code style
Task:Core Adding new line ending and convert to unix line delimiters
Task:Core Fix issue with invalid characters in validation message
Update behavior.php

Second parameter in [script] function should be now [false] for [tabstate] function. This is because this tabs-state.js requires JQuery not full Mootools framework. Setting this to [true] not only load Mootools when it is not required but also cause some conflicts if websites that depends on JQuery without noConflict.
Update joomla.php

Fixes tracker issue: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32775&start=0
Missing required second argument in array_diff

The $whiteListAttributes variable is missing on the comparison function. 
This pr corrects previous https://github.com/joomla/joomla-cms/pull/2575
Test using assertXmlStringEqualsXmlString instead of simple string comparison
Remove unnecessary php behavior check.
Reverting not allowing spaces in username
$ Adding back Czech installation lang files
Preventing saving spaces at beginning and end of username for Superadmin
when installing Joomla
Clean up some webdriver tests to hopefully fix intermittent problems.
Merge pull request #2646 from infograf768/32883-new

# Reverting not allowing spaces in username
[#29791] Space inside extension manifest <updateservers> / server> xml
node caused unclear / confusing error message
Merge pull request #2577 from mariopro/patch-12

Missing required second argument in array_diff
Merge pull request #2620 from okonomiyaki3000/fix_travis

Test using assertXmlStringEqualsXmlString instead of simple string comparison