give better error messages for misfired inputs. fixes #292
Merge branch '020' of github.com:Graylog2/graylog2-server into 020