Clean up ambiguous error values

No more named return errors unless it makes sense
to do so.
Clean out emacs backups and gitignore them
Export shaders (materials)

Currently only the only shader parameters supported are diffuse and
normal maps. Others have yet to be identified
Unpack and shader mappings

Texturing is now working properly