Added processing instruction for timestamp.

- Added convert to processing instruction in DOM for timestamp.
- Simplified nsINode code.
- Added support for css classes.