Batch support for node library

Also includes updates to function names to comply with javascript conventions + HTTP Basic authorization for batch support.