Merge branch 'improve_database_prototype_generation' into 'master'

Improve protocol template lookup for database prototype

Closes beat.editor#249

See merge request !103
8 jobs for master in 34 minutes and 39 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Build
passed #181072
docker-build
build_linux_36

00:14:30

64.0%
passed #181073
docker-build
build_linux_37

00:14:26

64.0%
passed #181081
macosx
build_macosx_36

00:14:36

64.0%
passed #181082
macosx
build_macosx_37

00:19:10

64.0%
canceled #181070
macosx
build_macosx_36

00:45:58

canceled #181071
macosx
build_macosx_37

00:45:57

 
  Deploy
passed #181084
docker
deploy_beta

00:00:58

canceled #181074
docker
deploy_beta