Allow any implementation of ArrayableInterface be passed to views. Fixes #362.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Fix some namespace/parameters in phpdocs
Merge pull request #363 from bencorlett/feature/arrayable-views

Allow any implementation of ArrayableInterface be passed to views. Fixes #362
Cleaning up unit test, adding mock instead of stub.
Additional phpdoc fixes
Fix a couple alignments.