License header added to pozeray.js.
Unit tests added.