expanded register feature

named functions
single methods
array bulk add
tuned headers
fix Promise in test for node 0.10