Search parent folders in sake for SilverStripe installation.

Previously sake would only work when run in the root folder. This change checks for a framework or sapphire directory up the parent folders.