Add static analysis execution script

This script simply mimicks the environment used to build budgie-desktop,
and runs it through sparse, the static analysis tool.