data-inview: unit tests added
data-inview: updated working examples

1. Added "Purpose" statement.
2. Matched .bar-demo visual style to bootstrap panels.
Merge pull request #4120 from patheard/data-inview

Data inview: unit tests and working example update