Tidy up and fix minor bugs

- Don't allow to create programmes with empty string as a name
- Don't post projects with empty str as a name
- Scroll to property details tab
- Fix refreshing of profiles after PUT
- Show datetimepicker when adding new profile.
- Don't show 'No property' when no property is selected.
- Add period dropdown
- Change dropdown to select.