niouz gets bigger

Hi David,

I don't know if that was your intention but I redesigned niouz and gave it an active record backend. The file backend is still there. I send you this pull request so you can get the changes upstream if you want. I haven't touched the README. Read the TODO for the ideas I have....

Peter

PS: the tests are currently broken. I'd like to do a very high level testing (no low level unit tests but more full integration tests)