Only use pjax for internal links
Modify Velocity's AMD related code

Modify Velocity to be able to have jQuery loaded automatically as a dependency
rather that just assume it is there. Other modules using Velocity can now
simply list it as a dependency.