POM-49. Introduce compile and test platform for library platform dependency.

issue: https://jira.kiji.org/browse/POM-49
review: https://review.kiji.org/r/2212