Legacy modules and shared resources

With this change, modules that use the no argument
form of the usesResource function will not run
concurrently with any other module that has
declared any shared resource with a named resource
using the usesResource function or used the no argument
usesResource function. All legacy modules automatically
call the no argument usesResource function.