[Code Test]Implement tests for JLayout base
[x] JLayoutbase->setOptions() returns a JLayoutbase instance with empty parameter.
 [x] JLayoutbase->setOptions() returns a JLayoutbase instance with JRegistry parameter.
 [x] JLayoutbase->setOptions() returns a JLayoutbase instance with an array parameter.
 [x] JLayoutbase->getOptions() returns a JRegistry object when options parameter is empty.
 [x] JLayoutbase->getOptions() returns a JRegistry object when options parameter is an array.
 [x] JLayoutbase->getOptions() returns a JRegistry object when options parameter is a JRegistry object.
 [x] JLayoutbase->getOptions() returns a JRegistry object value using an array.
 [x] JLayoutbase->getOptions() returns a JRegistry object value using JRegistry.
 [x] JLayoutbase->resetOptions() and check options is empty.
 [x] Escaping special characters into html entities
 [x] Add one debug message to the queue
 [x] JLayoutBase->getDebugMessages() retrieves a list of debug messages in an array.
 [x] JLayoutBase->renderDebugMessages() returns string of messages separated by newline character.
 [x] JLayoutBase->render() returns an empty string.
Add Fixes suggested by Sebastian Bergmann
Merge pull request #1 from javigomez/jlayout-systemtests

Add Fixes suggested by Sebastian Bergmann
Don't access application class var directly
Merge pull request #4744 from wilsonge/patch-24

Don't access application class var directly
Merge pull request #4699 from roland-d/jlayout-systemtests

[Code Test] Implement tests for JLayout base