apply format "canonical" to activies only

* typo fixes
* applied "canonical" format to activities and not agents, since agents will not
have extensions, and there isn't a lot of point in normalizing name across statements.
Merge pull request #119 from bscSCORM/query

apply format "canonical" to activities only