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

There's a good chance I broke something here, but all the tests pass and firefox records ... (but doesn't replay, #81).