better formatting for memory profiling docs
add ps data capture command
Merge pull request #4916 from dimagi/profile_docs

better formatting for memory profiling docs