jasmine: proper dir walking

* Fixes recursive discovery of the *.spec.js files.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
jasmine: fixture loading

* Adds the possibility to load fixtures for the test.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
ranker: rank method function fix

* Fixes issue with BibRank not being able to find rank method function
  due to function not being imported.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
sqlalchemy: fix PostgreSQL test connection

* Use a SQLAlchemy's independent query to test connection.

* Create a dialect depending procedure to initially test the db.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>