Support for configuring the rabbitmq_management web UI

When rabbitmq::admin_enable => true, then also configure RabbitMQ to enable
the rabbitmq_management web UI, running on rabbitmq::management_port.
Or, if ssl => true, then configure it as an SSL listener on
rabbitmq::ssl_management_port.

Also added a ssl_port parameter which defines the SSL port for RabbitMQ
service itself.  Previously, the rabbitmq::ssl_management_port parameter
was used for the RabbitMQ service SSL bind port.  So this potentially
breaks people who are currently using this module to configure RabbitMQ
for SSL on a non-standard port.  (They need to use the ssl_port parmeter
now, instead of ssl_management_port.)  Not exactly sure the best way
to approach a solution to that.
regex fixes in rspec for ruby 1.8.7
rabbitmq_exchange provider fix for Puppet 2.x
adding tcp_keepalive parameter
no longer testing against puppet 2.7
spec typos
proper validate_bool error message regex
not testing against puppet 2.7
Merge pull request #224 from misterdorm/adminfixes2

Bugfix and feature: Support for configuring the rabbitmq_management web UI
Merge pull request #231 from misterdorm/tcpkeepalive

adding tcp_keepalive parameter
Use https to download rabbitmqadmin tool when $rabbitmq::ssl => true

If $rabbitmq::admin_enable is set, the rabbitmqadmin tool is downloaded
via a http URL on the RabbitMQ management service.  However, this fails
when $rabbitmq::ssl is set, because in that case the managment service is
configured for https only (there is no http listener.)
Proper bool logic
Merge pull request #234 from misterdorm/rmqadminssl

Use https to download rabbitmqadmin tool when $rabbitmq::ssl => true
Configure ssl_listener in stomp only for ssl

W/o this patch puppet will always configure
ssl_listener for stomp and rabbitmq service will
fail to start, if ssl => false.

The solution is to ignore ssl_stomp_port in
config_stomp stanza then ssl was not enabled
and issue a puppet warn about that as well.

Closes-bug: #MODULES-1414

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Fix missing 'should' in rspecs

W/o this fix, rspec tests will continue
report false positives for many test cases
with config_file involved allowing even
more regressions to be accepted and merged
in master branch.

Fix contains missing 'should' and multiline
regex (/.*/m) statements.

Note: Perhaps, this fix should be merged
despite on CI failure. The failure is natural
for this specific case only, due to multiple
regressions had been accepted while tests
were reporting false positives results.
And in order to fix failing tests later, all
of these regressions should be assdessed by
other patches as well.

Closes-bug: #MODULES-1416

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Merge pull request #242 from bogdando/fix_MODULES_1416

Fix missing 'should' in rspecs
Merge pull request #241 from bogdando/fix_MODULES_1414

Configure ssl_listener in stomp only for ssl
Update specs to match content correctly

The specs were discovered in #242 to have never worked, and this PR
updates the tests to match the content of the templates as they
currently stand, assuming that that is the correct format of the config
file.
Merge pull request #243 from hunner/update_specs

Update specs to match content correctly
(MODULES-1411) Puppet 2.7 doesn't have has_command