Docs for list, xor and remote

This includes code tidying, formatting to fix with VS 2013's preferences, and doxygen comments.