move satisfies() into maas module, because it only works with MAASMachines. Add tests.
add tests for machines with asterisks (possibly unused)
Merge pull request #286 from Ubuntu-Solutions-Engineering/move_satisfies

Move satisfies() into maas/ and add tests
Merge with master