jsrrdgraph: Fix flags parsing (options without a value)

Also fix some typos and white-space issues. Reported at
https://github.com/pommi/CGP/issues/88
jsrrdgraph: Fix textalign name typo. Thanks to Poil
jsrrdgraph: Check when this.gdes[i].legend is null
jsrrdgraph: Fix ident. Thanks to Poil
jsrrdgraph: Upgrade to javascriptrrd ver 1.1.1
jsrrdgraph: Fix get reponseText in FetchBinaryURL