Fix warnings
Created by: mvz
These commits turn on warnings for the spec task, and fix the resulting warnings.
This makes it nicer to run specs for other projects with warnings turned on.
All warnings were fixed, except a warning from psych:
implementing to_yaml is deprecated, please implement "encode_with"