Fixed a compile error.
Added the OmniFoundationErrors class.

I also fixed a bug where OmniFoundation was being built as an EXE file
instead of a DLL.
Added a bundle resource.