patient_id should always be string type in search index  fixed #585
updated changes log
Merge branch 'develop' into testing.

Conflicts:
	lib/fulltext.js (accepted `develop` version)
Merge branch 'develop' into testing
When updating db admin password we need to make additional PUT call. Show admin user type correctly. Don't overwrite 'known' property on save. Issue: #665
Add 'confirm password' field to protect against setting badly typed passwords. Issue: #665
Sort facilities in the user facilities dropdown. Issue: #666
Wrap UUIDs in quotes so the facilities filter works correctly. Issue: #677
Don't overwrite user entered freetext filter. Issue: #678
Explicitely call scope.apply because we're using non-angular services to retrieve search results. This ensures the spinner is hidden and the error message shown. Alternatively we could use  instead of db and this would be done automatically. Issue: #674
Show a specific error for invalid freetext query syntax. Issue: #674
Make sure the list of possible search fields is unique before rendering to the search help page. Issue: #674
When using the reply box in the messages pane check to see if the clinic can be resolved so messages are correctly threaded. Issue: #686
Make dropdown scrollable for large datasets. Issue: #676
Tweak search height. Issue: #687
Left align tooltip content. Issue: #688
Impose a max on the unread notification. Issue: #683
Hide admin tour from national admins as they can't access all screens covered by the tour.
Improve the styling of the select2 field in the Send Message modal. Issue: #685
Better method of hiding the date picker when moving on to the next tour step. Issue: #691