fix C++ compiler warnings
add .rebar directory to .gitignore
Merge pull request #31 from vinoski/vinoski/fix-compile-warnings

fix compile warnings