Multiple documentation changes and bugfixes

Added documentation including section breaks and file title.
Changed a series of if statements to if-else, and removed repeated calls
to llList2String to a single call, for a probable speedup. Changed possible
bug relating to the "carried" command not being either part of num 300 or
num 305 linked messages.