Remove logging of ops sent to Solr to fix issue 352.
Add diagnostic module

Add a diagnostic module which gathers important information from
various parts of Yokozuna. This module will act as a first step for
sanity checking when issues occur in production. Currently it only
returns raw Erlang terms but other tools can use these raw terms to
build terminal output, GUIs, or hook into tools like Riaknostic.
Fixes for some improper list/binary handling when interacting with riak_core_security
New flow to abstract out recurring path_info -> check_permission sequence
Merge pull request #354 from basho/bugfix/jra/issue_352

Remove logging of ops sent to Solr when indexing fails.
Fixed grant commands.

The 'on' and 'to' should not be capitalized.
Fixed badarg when a user is disallowed.

The return from the error is a binary when disallowed, so trying to do
list_to_binary/1 on it is a problem.
* Be more explicit with function naming to make "true"/"false" more intuitive
* Fix resource argument names per @Z
* Drop check for integer, dialyzer doesn't seem to care
* Simplify path for current use case, thus only one extra function
Merge pull request #363 from basho/jrd-fix-perms

fix security code

Reviewed-by: rzezeski
Merge remote-tracking branch 'origin/develop' into bug/mw/security-fixes
Merge pull request #362 from basho/bug/mw/security-fixes

Fixes calls into security

Reviewed-by: rzezeski
Merge remote-tracking branch 'origin/develop' into feature/rz/diag
Merge pull request #357 from basho/feature/rz/diag

Add diagnostic module

Reviewed-by: reiddraper
Merge remote-tracking branch 'origin/develop' into er/throughput