Altcoins, Use coinname variable in more places.

Todo: automatically bootstrap coinname
Make dahash work better from the command line

Batch should find the necessary shell file now.