swat maxresults error on pager queries.
swat more xt.foo schema bugs.
Make sure XT.username is undefined when we throw errors.
Merge pull request #1300 from bendiy/cdd

More fixes for e-comm demo