Merge branch 'refs/heads/master' into resourceful

* refs/heads/master:
  lib/register: #fix: only hearbeats with macs can capture numbers for now
  lib/register: return() after fail()
  lib/register: check mac on create and update, but only when given
  lib/register: fix the callback
  fix: add 'last_seen' property to knoten listings
start #refactor to resourceful
resourceful: use couchdb
Merge branch 'refs/heads/master' into resourceful

* refs/heads/master:
  lib/register: #fix mac check
#refactor: resource create/update works, needs restructuring
#refactor handle resourceful properties number is id, last_seen is mtime. new: created_at (ctime)
#fix: more return() after fail()
Merge branch 'refs/heads/master' into resourceful

* refs/heads/master:
  lib/errors: log all handled errors (client as debug, server as error level)
lib/register: writeKnoten() -> createKnoten(), updateKnoten()
makefile: couch env examples
more #refactor to resourceful
fail(): less log()ging, more return()ing
lib/common: also export the mac regex itself
Merge branch 'refs/heads/master' into wip-resourceful

* refs/heads/master:
  Makefile: yay, docs from source code

Conflicts:
	Makefile
resources: virtual properties for number and timestamp
#refactor #resourcful dependenices upgrade
#fix errors ^^
Merge branch 'refs/heads/master' into wip-resourceful

* refs/heads/master:
  #fix errors ^^
finish #refactor to resourceful
#cleanup