properly escape regex

as the match is trying to catch literal "%{.....}" but "{" and "}"
are actually regex operators, escape properly.

also avoids puppet warnings :)
remove sample code

 - this is documented, and will be tested
prepare testing environment

in order to have a testable module, start incorporating test skeleton
from https://github.com/Jimdo/puppet-skeleton
add tests

add rspec tests and (sample) integration tests
add travis configuration
fix namespace (skeleton > hiera)
enable easier extra configuration

 - let extra_config be a string or a hash, and properly handle in template
 - consolidate YAML template
 - add dadrian as an author :)
produce deterministic test results

 - one has to love 1.8.7/1.9.3/yaml/rspec/puppet sort/nosort. grmpf.
 - testing with one element, still in a hash.
Merge pull request #1 from zined/add_testing_framework_and_tests

Add testing framework and tests