Move isadmin to template and rename it to oc_isadmin

As requested by @raghunayyar