Bugfix for writing unicode files

The compiler had a fit when compiling kit files with unicode content. It read the files fine, but it crashed when trying to write. I made a quick fix to resolve the issue.

I also updated to docs and assured the tests directory no longer is copied to the the build folder as it does not belong in a pre-built distributed package.