Added lib directory with query.rb.  query.rb contains query method with supporting method.  Added a couple user specs in sudoers file to make manual access verification easier.  Existing tests have been rewritten using query_by_options method.  Many new tests have been written