Do not merge - Introduce Network Policy API

Still need to add javadoc and a few tests but starting the review due to different timezones.

closes #438 


Ah, wait. I guess it is...