Use control panel API to access action object (CC @ericof)

Add test for the upgrade step also.
Cook resources on upgrade step

Both, CSS and JS resources were modified since last version.