Improved migrations version handling

Following the example in the migrations doc (using 001) as the prefix for my migration, and because I didn't read the disclaimer about the version numbers below :grin: , I've had problems with migrations ordering and once solved I found that padding versions with zeroes makes pending migrations method to fail and tries to rerun the migration. Fixed all of these relying on the version nummeric value rather than alphanummeric one.