Removing unused variable.
Adding feature request #856 and tests.
Fixing #1009.
Fixing deployPackagedToSrc target.