Moved logging stuff to nengo/utils

- Also added some unit tests for it
- Fixed a bug where you would get multiple handlers if
  you called log multiple times
Added absolute_import to fix test plotting.