Change to use model instead of bdb.getBookmarkByBID.
Merge branch 'master' of git@github.com:jd-boyd/yourls