Fix #1001: don't call bash from rvm

@mpapis, thanks for the advice!
Fix #1001: switch ; to && and use --create
Merge pull request #1001 from influxdb/fix-1001

rvm shouldn't call bash
Modify merge to work with regex
More logging
Merge points at the shard level
Return the merged data using the alias

Since we return an error if the same series has more than one alias this
fixes #270
rename a test file
Use the standard heap implementation