Added beginnings of a test suite, currently passing. Fixed up some problems I discovered in by_id; moved user-agent to a property.
Merge remote-tracking branch 'origin/master'

Conflicts:
	nodewhal.js
Merge fix, updated user test as data attribute isn't included anymore.