Adding more control over packages

The changes made allows one to specify "ensure = latest", "svn = latest", or "gui = latest", for example.