Add a (JS only) category list to entry editor

This will emit (and update) a list of all categories assigned to an
entry based on the selection in the category selection popup.

References #77
Merge branch '2.0' of github.com:s9y/Serendipity into 2.0