Added a UserFavorites class, added some functions to Utilities for
dealing with user favorites. Updated sample code to read the user
account id from standard input and use it.