(refs #464)Some improve for plugin API

- Place holder support for db API
- Redirect support for plugin action