Changes to make Aura.Router PHP 5.3 compatible (Note: requires travis testing)