Added firefox fix for links and images
Moved functions into factories outside of the directive to keep the directive consice and clean
Added closure to the entire project to help prevent poluting the global namespace after minified
Finished group detection
Added function to dynamically add some css for safari
Updated a large amount of the test page

Signed-off-by: Jonathan Gawrych <Jonathan.Gawrych@gmail.com>