use fancylogger in rest.py, fix bug in RequestBuilder

@JensTimmerman: as discussed