Improve database title maker's regex, add unit tests

Improved RegExp aims to preserve the version number information in file
names. We also add a couple of tests to ensure proper behavior in
future.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Remove rescue code by response string coercion.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>