jbroadway's URLify adapted for Laravel4