Build with -Werror (includes fixes for current warnings). Resolves #13
Merge pull request #82 from cgjones/werror-et-al

Build with -Werror (includes fixes for current warnings). Resolves #13