[FIX] Changed behaviour for hostToVirtualPosition, when host pos is greater or equal to the length of the host.
[DOC] Minor changes.
[FIX] Fixes compiler warnings.
Merge pull request #730 from rrahn/release/fix/js_projection

[FIXED-#531] Fixes right-based projection.