move getId method to BaseModel and test it there.
don't need this here anymore.
move user methods to user model and add getUser method to wrap user getter methods in link/thread.
add url method to links collection.
cosmetic, for consistency.
update rake.
avoid using explicit languages in factories, override where necessary in specs instead.