Made jquery.cookie a dependency

Extracted the vendor code to a gem dependency.