More efficient way to look up process_info

Erlang already supports looking up lists of attributes rather than
making N calls for each attribute individually.
Refactoring count & window functions to be generic

Also added shorthand for memory metrics on top of reductions
Adding warning of incomplete documentation