fixed file permissions
fixed file encodings
fixed line endings
added Makefiles for zmpkg
Merge pull request #27 from metux/master

several minor cleanups and makefiles for zmpkg