AUI-1535

Hey @marclundgren,

Attached is an update for http://issues.liferay.com/browse/AUI-1535.

We need to create tests for this as well as all the other methods in ```aui-base-lang.js```.

Please let me know if you have any questions.  Thanks!