Detect shell and invoke the appropriate virtualenv activate script

Fixes issue #24