make headers autonomously includable and fix a few harmless clang warnings
Merge pull request #32 from andlaus/fix_headers

make headers autonomously includable and fix a few harmless clang warnings