On adding a new flow, specify flow actions by a (action, parameter) pair.

Signed-off-by: Min Chen <minchnew@gmail.com>
Minor bug fixes.

Signed-off-by: Min Chen <minchnew@gmail.com>