Move viewport data ob generation to a separate PHP class.

Allows determination of what to send to browser on-demand at the end of
a request.

Fixes issues where viewport objects were missing properties if using a
"basic" object rather than a "full" object, and later that object needs
additional information injected into it.
phpdoc
Fix XSS on flags label

Signed-off-by: Michael M Slusarz <slusarz@horde.org>
[mms] SECURITY: Fix XSS when flagging a message in dynamic view with a user-defined flag (João Machado <geral@jpaulo.eu>).
Fix double adding of forwarded atachments when clicking on notice to add body text
Don't allow duplicate user-defined flag names
Missed these conversions to the new viewport ob
Add flotr2.js
Add template/css for a deliverables detail page.
Rough idea of a details page. Work In Progress (tm).
ws
Tweak graphs, css etc...

Just trying things out at this point, feel free to move around.
More tweaks.
..and actually populate the data.
Add excanvas for IE < 9  canvas compatibility.
Better method name.
Remove commented out code.
This should float right.
Better method name.
Extract out Hermes::getCostObjects().