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.
# [#32741] Error 404 when leaving K2 config box in Joomla 3.2  Thanks
Christelle Olivier
(Fix #2548)
  [#32130] com_search Warning: mb_strpos() problems
Fixing batchAccess
Resetting the location as well when table is resetted.
 # [#31682] Options for ordering in config.xml of com_tags is wrong
Thanks Phương Lê
(Fix #1694)
Typo
Merge pull request #2632 from Bakual/FixCategoryBatchCopy

Fix category batch copy. Thanks
Merge pull request #2630 from infograf768/32130

  [#32130] com_search Warning: mb_strpos() problems