Bugs/previous file is not parsed when designer loads and a file is reopened 64656282

I fixed https://www.pivotaltracker.com/story/show/64656282

And brought the RAML regexp closer to what it is in the [raml-js-parser](https://github.com/raml-org/raml-js-parser/blob/master/src/scanner.coffee#L706)