Initial support for data blocks

Now you can create, write and manipulate data blocks. A critical bug
that rendered the ini system pretty much useless is also fixed now.
Merge pull request #1 from matsve/data-blocks

Initial support for data blocks