backend - rewrite the TextVersion/User services with KnexJS

I wrote raw MySQL queries so far but they are getting too complex. I don't want to use an ORM to perform optimal requests, so I decided to use a query builder suggested by a member of Cowriters instead. I'm rewriting each SCRUD function as I encounter them.