Update bp-polls.php

1. Add '' to define constants
2. Add if (bp_is_group() || bp_is_user())  in order to avoid loading the plugin in all BP pages