Added a misc/basename.sql which emulates GNU basename.
Merge branch 'master' of https://github.com/sql-diaries/sql-diaries