Fix issue #18 and #19 migrate to laravel 4 and add app installer