Updates for plugin compatibility

Several changes to bring the apcupsd plugin up to plugin standards.  The
biggest change is that the apsupsd is ordered on the settings page
differently.