Refactor action handler for saving options. Also i...

Refactoring action handler for saving options, along with some minor tweaks while working on some updates in the pro version. See also: https://github.com/websharks/zencache.com/issues/15