major docs update + "array.first, .last"
- more normalization of documentation formatting
- partially fixed HTML generator (no tables and internal refs)
- added js and css from the prototype doc.