(bug 2288) move checkforusername to routing

This wasn't a true __rpc_... endpoint, now it is
Merge pull request #466 from anall/feature/bug2288-checkforusername

(bug 2288) move checkforusername to routing