Merge pull request #4 from tpokorra/master

add more fixes for the new release. fixes for accounts payable on sqlite. fixes for serialization