Added logging in several places

- Almost all instance of `print` have been replaced with `logger.debug`
- In the future, just use `logger.debug` and `nengo.log(debug=True)`
  and leave the debug messages in the code