Added warn compile options. Fixed compile warnings.
Merge branch 'fix-warnings' of git://github.com/Egobrain/cowboy