Add logging of errors and fail if a compile error happens with slimrb

This will take care of issue #17.