Added exceptions for undefined policies and made them be thrown in
SDPlannerPolicy objects if the policy is undefined.

Fixes #5