Refactor murano-ci scripts

* Add common functions library
* Refactor configure_api.sh

Change-Id: Id5ff09d4ef7c213db710a03db0e30132f248b4b5