Add additional flag methods.

Added method to get all flags as list, and to get a flag as boolean,
double, or integer.
Added list command and fixed others
Added /help command and new permission checking.