Use logging library instead of console.log

Another idea (now or later): we could also put all the non-public objects in a ```Tangram.debug``` namespace, to more explicitly indicate they aren't part of the "normal" API.