Melt butter in skillet over medium heat.Add onions and sugar to pan and cook until light brown in color.Get a piece of cheesecloth and add thyme and bay leaf and tie up with string to create a bouquet garni.Place all ingredients in slow cooker.Cook on low for 7-9 hours.