Core pr 5

The reservation buttons have been changed from forms to ajax links to fix cache issues and slow site.
The regex is need as the field "preferred_branch" is prefixed with the provider name. And it's only used here so moving the check to a helper function....