Add build queue lock MySQL table.  Fixes bug#976170

Support horizontal server scaling by ensuring only
one server is building a particular APK