Fix EZP-21988: async publishing should generate static cache

http://jira.ez.no/browse/EZP-21988.

Static cache tasks weren't processed after publishing, since a call to static cache is done manually in the kernel, after module processing.

### Testing

Manual.
Static cache isn't generated at all without this patch. It works as expected with it.