amd support
add bower support
grunt tasks for building browser and amd versions
add support for headless testing