init composer
add php 5.4 requirement
add dev requirements, update composer, require php >= 5.4.0
first version
update README.markdown
remove stale TODO comments
better error handling (exceptions)
remove legacy code