Add tests for bugs reported against riak_core: 917, 918
Merge pull request #615 from basho/jrd-enhance-security-tests-rebased

Add tests for bugs reported against riak_core: 917, 918