Checks whether process.env.HOME exists

Checks whether process.env.HOME exists before calling Path.join
Was not able to start sinopia on my fresh windows install due to this error.
update dependencies
1.0.0-beta.2
move logger setup to index.js + tests
fixed current folder reference in tests
download packages using https

Or, in general, the same protocol as the registry;
this is what npm seem to be doing.

See issue #166 for details.