Add scope attribute to body classes

For now, this may be set to either 'bundle' or 'namespace'. Default is 'namespace'.
See feature request #2013
Merge pull request #379 from sigurdteigen/feature/context-scope

Add scope attribute to body classes

Merging this so it will make it into monthly release. Should be low risk as not using the attribute should give default behavior. Adding suggested tests.