rdbic.pl: refactor to Plack::App::RapidApp::rDbic

Moved the guts of the rdbic.pl script into preliminary Plack App class
Plack::App::RapidApp::rDbic.

In progress...