Add bower manifest for deps.

[fixes #169]
Extract agent test script.

Allows for easier debugging