[NPANDAY-578] add options to enable framework directory search

These are disabled by default to retain previous behaviour, and minimise the
number of the hardcoded paths that are typically exposed. The tests also keep
this mode at the moment to reduce the chance of failures due to a different
environment where they are being run.


git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1451813 13f79535-47bb-0310-9956-ffa450edef68