Get all tests passing.

I made some ugly changes to TestCommon, to help the testsuite find snap
1.0 for the purposes of calling 'snap init', rather than any of the
other places where snap is installed on my system.

All tests pass with 1.0 versions of the helper libs. Now I will remove
everything snap-templates related.