Tweak riak parameters and kernel settings for better GC

[finishes #77339046]
Use /bin/bash in riak-cs packaging script instead of /usr/bin/env bash
Add erlang as an explicit dependency to riak-cs compilation