Coding style fixes

Based on http://laravel.com/docs/4.2/contributions#coding-style
Small improvements
Merge pull request #9 from billmn/patch-2

Code improvements