adding more robust opacity attribute to view

Now opacity is documented in dr.view that accepts "##.##" floating point values, and adding a test.