Refactor scoped blocks.
Allow setting just 1 scope on root keys without an array.
Update equality to check for cache pieces.
Merge pull request #7 from digitalocean/refactor-multiple-scopes

Refactor multiple scopes