XCTest for iOS testing

This primarily handles testing Lagrangian on iOS. It should be extended to handle testing on iOS in general.

Fixes #22.