remove old DB migration for AA comments

Now when you create a new project with AA, only one DB migration is
used to create comments
two bug fixes for AA Comments UI

+ Fixes #367 regression by calling `to_s` on the namespace
+ Fixes #2294 by applying queries to the passed object