ran astyle -s2 --style=allman on rpc_state.cpp
check for params being array in contains_params
ran astyle -s2 --style=java on rpc_state.cpp
indent switches
Merge pull request #30 from placeybordeaux/json-safety

Makes param_check safe.