Fix Registry#getPendingMigrations() for case when direction is 'down'
Fix registry tests: up and down migrations previously were erroneously swapped
Merge pull request #1 from titarenko/master

Fix Registry#getPendingMigrations() for case when direction is 'down'