Refactor manager api class
- added missing return values
- updated checkHashAlgorithm
- removed superfluos variables
- added missing variables
Purge obsolete plugins

Conflicts:
	manager/actions/resources.static.php