Updated to the latest draft. Moved the old versions into a history folder.

This version has an implementation, and it is also closest to Mozilla's implementation. Making it the main version, to be the new starting point to discuss further issues.