update measure link scheme

[pivotal story](https://www.pivotaltracker.com/n/projects/488191/stories/69339772)
Merge pull request #157 from bitzesty/measure-link-scheme

update measure link scheme
Change ruby version patch level according to current puppet settings
Switch to database_cleaner
Sync refactoring