added several functional test and fixed some errors
Merge branch 'develop' of https://github.com/Stratio/stratio-connector-commons into develop