Versionable behavior doesn't support schemas

Try to generate the following minimal example with the stock versionable behavior: https://gist.github.com/4665275

You'll get results like this: https://gist.github.com/4665309

Obviously the Schema name is doubled and the resulting SQL will throw errors. My patch fixes that.