Support PaperScript code with only one line and no breaks.
Move 'data-paper-scope' attribute handling out of PaperScope into browser related code in PaperScript.

Closes #508