Copy logging code from ddp-erlang-style
Update code generator and supporting functions

It now allows to use monadic functions. It's required for implementation of
the "pure" functions that actually do IO

All in all it's rather ugly and will need partial rewrite
Rename project
Choose shape of array at compile time

It's needed for splitting runtime library to separate package
Split runtime library to separate module
Genrate cabal fiel as well
Fix cabal file
Create separate package for examples
Correct tye of handleRule.

Updated codegen produces different code
Add promitive for reading files
Merge remote-tracking branch 'origin/master'