convert the AssetGraph class and most Assets into coffee-script