Merge pull request #18 from Appsdeck/etcd_0.3.0

Use etcd 0.3.0 and Discovery protocol
merge #18 and refactor for namespaces
move local mode into library
auto rubocop

add rubocop config

rubocop auto
remove resolver lib that was jsut wrapping stdlib

No reason not to call Resolv.getaddr directly for now.
refactor URL assembly

There was redundancy on the url logic. fix it so that its all up in the
lib
use Gem to resolve versions
add local_cmd
add specs around library methods
 update testiong support files
 default bind address are not needed with default setting using local
 use tha right name for Resolv.getaddress
 add encoding to files to satisfy rubocop
 fix IfUnlessModifier from rubocop
fix CommentAnnotation from rubocop
multiple rubocop fixes.

rework the logic so that the recipe isn't wrapped in a giant if block.
cleanup some of the other issues.
update berks lock
rename self_hostnames to my_hostnames
add travis support
update readme for discovery/3.0