misc test edits
add generic namespace
tidying and docstrings
Merge branch 'develop' of https://github.com/mikera/matrix-api.git into develop