Tested and fixed how permissions are checked for static placeholder.

StaticPlaceholder does not belong to any specific page. It does not have page-permissions nor the method "has_generic_permission".

I changed StaticPlaceholder so that a user with "publish_page" permission can publish static placeholder as well. This might not be optimal, but it's the best feasible solution at this point.

Please check indentation