added in getfilter and improved intenum

int enum now returns high level names if left incomplete (e.g. get
"action" returns a list of action sections, not the R-list of actions.