Finished the initial implementation of DKContainment.
Added more containment tests, fixed a build error on iOS.