Modified to address comments (Antranig).

- Moved "use strict"; to top and wrapped the code in a closure.

- Namespaced the test utility functions.

- Used fluid.find() for finding and returning a package by name,
or by (name, version, architecture).

- Replaced console messages with individual jqUnit.test() fixtures.