miscellaneous fixes

- use constant for actions
- add MAGIC_NUM in name choice in gossip
return comments in descending order
Merge pull request #49 from lisztli/miscfix-20140907

miscellaneous fixes