typo in wpconfig tpl
executes plugin if php is not invoked by cli

this let wp-cli to work
polished returns checking from DB save/read
quite good refactor: new update constants method

now we use a specific wordpress admin action to do the update,
then return back on our control panel. This way we have freshly updated
constants at every update request. Also the constants view is really dryer