Throw on warnings by default; Add `onWarning` loader option

Related to issue #121