allow Deck constructor to take null values
added saveDeck method
use default values in coffeescript
added other CRUD methods
fixed deck iteration