Enhance node status feature in overview and nodes

This commit uses the new parameter with_status from nedap/pypuppetdb#18

Node status is now shown as text with the additional information of
failed/succeded events, unreported time

The statistics on Overview now show the *number of nodes*
that have status failed/changed/unreported
nodes view filter now works with new status attribute
change sorting of the overview node status in javascript
Merge pull request #28 from digitalmediacenter/improve-nodestatus

Enhance node status feature in overview and nodes
overview: Add a count, info if nothing is changing

The Nodes status detail now shows for how many nodes we have events.
Additionally when there are no events we simply show an alert that
nothing is going on.
app: Abort if we can't fetch metrics.
metric: Truncate the name.
metric: 100 is a bit much, 75 looks better.
Make fact value clickable.

In the Facts view you can now click on the value of a fact and get a
listing of all the nodes with that value for that fact.

Closes #13
node: Give the node overview some breathing room.

The interface was too packed causing the facts and reports tables to be
jammed into place.

Currently working on a complete new node overview page but this should
make things a bit more workable in the meantime.
Add a new jsonprint filter, used in metrics, query
use configuration variable UNRESPONSIVE_HOURS to determine if a node's
status is unreported
Feature: Toggle event message in event reports

Toggle event message in reports

cursor pointer and indent of message

rebase from master
Merge pull request #27 from lsjostro/display-event-message

Toggle display of event message in reports
Merge pull request #29 from fretterick/use-UNRESPONSIVE_HOURS

Use UNRESPONSIVE_HOURS setting.
fact: Add the counter back to facts.

Since we're now already consuming the generator and creating a list we
can call lenght on it just fine.

Closes #18
use unreported=app.config['UNRESPONSIVE_HOURS'] for node overview as
well
Merge pull request #31 from fretterick/use-UNRESPONSIVE_HOURS-node-overview

UNRESPONSIVE_HOURS not used for node overview