Switch to Composer

Solving issue #59.

Many failing unit tests on dev branch. Do not blame me for that :-) We'll fix them on separate pull request. Please check my changes, maybe you'll have some comments.