Brians assorted 0 4 2 commits

Gives dynamic enums configurable defaults. Support static or dynamic enums for linked_agent roles. A few minor bugs.

http://www.pivotaltracker.com/story/show/41509815
http://www.pivotaltracker.com/story/show/41506217
http://www.pivotaltracker.com/story/show/45461739
http://www.pivotaltracker.com/story/show/45553651 (resubmit)