Clean up & Minor changes

- removed all testing code for migration to unit testing
- renamed class to 'DoublyLinkedList' which better differentiate it from other linked lists
- added support for running in both browser & nodejs
- throwing error is just in '_getNode' to avoid repetition for each function that work with indexes
- throwing error with 'Error' object to have stack traces & prevent IE bug