group similar functions into module
kenxify getAllCompanies, getTeamsByCompanyId, getComponentsByTeamId
knexify sql funcs'
Merge branch 'master' of https://github.com/si-mikey/Tessy into refactor

Conflicts:
	lib/routes/testcases.js
removed generic functions from testcases, incorrect login fallback
getCompanyByName in helper object
get components and team by name, use sub-query instead of knex.raw
Cleaning up routes
getScenrios via compan/team/component name
get Scenarios
get scenarios
getStepsById fix and stepIds string to array of ints for query
get scnearios by names