Singular resources are now wrapped with an array.

It's annoying to determine if something is singular or plural and then
process it. Much easier to make it always plural, and then see if the
length is one.

Fixes #8.