clean up for 3.x
fixed tests
retracted 5.3/5.4 syntax to have unofficial 5.2 support
composer version update, docs update