Feature/provisioner multitenant

first version of the multitenant provisioner master, required for #212 .  a couple high-level items:
* Docs will be added (working on those now)
* See the diff for some minor changes to the existing provisioner (now: worker)
* For simplicity, added this under provisioner/multitenant folder, and the ruby calls up to '../daemon/provisioner' for the worker.  There will be a followup PR to restructure the provisioner directory.  
* try it out, switch to the branch and from ``provisioner/multitenant`` run:
   * ``./bin/provisioner --uri http://localhost:55054`` (-h for other options, default binding is 0.0.0.0:55056)
   * add workers: ``./spec/tenant_worker_request.rb mytenant 3``
   * delete tenant: ``curl -v -X DELETE http://localhost:55056/v1/tenants/mytenant``
   * get heartbeat stats: ``curl http://localhost:55056/heartbeat``
* basic rspec testing, run rake
* rubocop is happy (2 minor offenses which will be addressed when we iron out the plugin data stuff)



+1

------------

"I’ve learned that I still have a lot to learn. I’ve learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel" - Maya Angelou

Random auto-corrects and typos are my special gift to you. When I forward they are from others. 

> On Jul 24, 2014, at 3:15 PM, Chris Gianelloni <notifications@github.com> wrote:
> 
> In provisioner/multitenant/lib/provisioner/logging.rb:
> 
> > +        @level = ::Logger::INFO
> > +      when /warn/i
> > +        @level = ::Logger::WARN
> > +      when /error/i
> > +        @level = ::Logger::ERROR
> > +      when /fatal/i
> > +        @level = ::Logger::FATAL
> > +      else
> > +        @level = ::Logger::INFO
> > +      end
> > +    end
> > +
> > +    def self.log
> > +      unless @logger
> > +        if @out
> > +          @logger = ::Logger.new(@out, 'daily')
> Is this some kind of built-in log rotation schedule? If so, it should be configurable.
> 
> —
> Reply to this email directly or view it on GitHub.