Added documentation for RPSyntaxTheme
Added object to represent scoped match, refactoring