Sort profiles hierarchically in hmm_score_criteria index view
Merge branch 'hierarchical-sorting'
Added bundle install and db:test:prepare to autotest.sh
Transaction around calculate