Minor corrections in Armen's last commits

- getCompanyBenefitsByCompanyId removed
- Variables defined inside template should not start with underscore
- Sql file names changed for ordering to work