Merge pull request #46 from tsloughter/master

Fixes for profiles breaking templates and installing of non-default deps
Merge pull request #47 from tsloughter/master

version in source dep element is no longer used, support leaving it out
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}