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 


I don't think this should be changed. Moreover, this is named wrong already. The boolean signals whether or not an image was loaded from cache.