Refactor/uify

Hey guys,

I made some more significant changes today trying to get this module more in line with the angular bootstrap stuff. They like to move most of the logic out of the link functions and have the default config in a constant.

I'm not finished yet as I still need to get the tests passing.

Take a look and let me know if I'm on the right track. I'll have more time to work on it tomorrow so some quick feedback would be rad.