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
 # [#32786] Stop canonical message in home page using featured view of
com_content  Thanks Bruno Batista
(Fix #2581)
Fix a failing unit test
Merge pull request #2596 from elkuku/ut-1

Fix a failing unit test [#32813]
Removing duplicated part from earlier commit
Missing language string
 [#32846] Add in batch language option for all languages  Thanks Thomas
Hunziker
(Fix #2624)
 # [#32844] *Regression: Batch Copy modules does not work if a position
is not chosen  Thanks Thomas Hunziker
(Fix #2625)
Test using assertXmlStringEqualsXmlString instead of simple string comparison
Remove unnecessary php behavior check.
# [#32741] Error 404 when leaving K2 config box in Joomla 3.2  Thanks
Christelle Olivier
(Fix #2548)