Activerecord driver, adds the AS part of the select automatically

Here's the pull request for what we talked in #92. I'll update the wiki too.