[#1035] Create convenience DW::RPC::out/err/alert methods

Instead of redefining the print logic in each handler, just do this
once.
[#1035] Convert getuserpics endpoint
[#1035] Convert changerelation endpoint
[#1035] Convert ctxpopup endpoint
[#1035] Convert esn_inbox endpoint
[#1035] Convert esn_subs endpoint
[#1035] Remove trans_save endpoint

Not sure what this is, but I see no corresponding file.
[#1035] Convert widget endpoint
[#1035] Convert load_state_codes endpoint
[#1035] Convert profileexpandcollapse endpoint
[#1035] Convert extacct_auth endpoint

Also converts the general endpoint handler to use DW::RPC->err/out
[#1035] Convert contentfilters endpoint
Merge pull request #1043 from afuna/bml-tools-endpoints-bug-1035

Convert misc BML files in tools/endpoints