Updated README.md format

One last edit to titles, notice that the numbering is wrong under the
'How to use:' section, this is a Github problem.
Updated test.php

Updated the test script. Added PHP longtags, fixed invalid currency
pairs, simplified code and added more tests.