Move satisfies() into maas/ and add tests

- satisfies() from cloudinstall.machine assumes it's called on a MAASMachine, so it should live in that module.
- adds test class for the function.