feat(apimock): add logging through $log
fix(apimock): treat NaN as false for command
refactor(tests): improve $http usage
test(apimock): expose bug in command 'auto'
fix(apimock): fix command 'auto'

It wasn’t doing a recovery HTTP call.