Use global $wp_roles instead of $_GLOBALS['wp_roles']

Possible fix for #468
 global fallback
Single statement blocks still need brackets
Merge pull request #469 from x-team/issue-468

Use global $wp_roles instead of $_GLOBALS['wp_roles']