add: exteneded configuration via config_hash
spec changes
Merge pull request #2 from vladnazarenko/extended_config

refactor template to support configuration via a hash, so all tsm parameters can be set.

tsm_host/tsm_port changed to server_name and tcp_port, added comm_method.

thanks