(GH-128) Change method_missing to define_method

Previously method_missing was enough to create dynamic methods but Puppet 3.0
broke that functionality. So here we used 'define_method' instead to work
around that.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'ticket/master/128-puppet_30_broke_method_missing'

* ticket/master/128-puppet_30_broke_method_missing:
  (GH-128) Change method_missing to define_method