Removed some debug from test framework
Some updates to basic demo
New (experimental) visualisation feature from lechat -
  - generate json for displaying flow graph in browser using javascript
  - Merge branch 'visual'
Experimental visualisation -
  - Added a litte documentation
  - Fix json node id reference
  - test server arguments
Experimental visualisation -
  - Fix json node id reference
  - Allow pretty print
Generate json with name link referece instead of id if pretty printing
json: Removed unnecessary if before loop
Visualisation -
  - generate json from within the top level flow
    - it is not possible to generate json in the with statement any more since the Jenkins job info is now retrived in the __exit__ of the top level flow, and the graph needs the url from the job object
    - use AtomicFile to guarantee atomic updated os json output files
Fix: securitytoken not set correctly
Added build cause amendment 'By flow job '<flow job nam>' #<build number>' -
  - Will NOT work if security is enabled and username/password authentication is used.
Changed all but one of the demos to use securitytoken instead of username/password
Don't cd in testscript, it confuses Emacs
Made json to be visible using latest dagre

Interactivity is still broken
No live updates for job statuses
Uses static file for now
Fix: url not set in json output
  - jenkinsapi.Job instance is false if it has no builds (__len__ method) WTF!
Json improvement: node_id should restart from 0 if there are multiple flows in a single invocation
Fix jobload:
 - poll() is required to make the job immediately available
    - improved mock to enable more testing of jobload
    - improved test
Print error message at the end if fail
Json tests
Merge pull request #8 from lechat/master

Made json to be visible using latest dagre
Use args.document_dir
Full coverage of unbuffered
Strip top level job prefix graph nodes.