Settings.py changes for uniqueness

* Shorten some fields of the node prefix
* Add BUILD_NUMBER if it exists

Change-Id: I553946cc05500c118500dffb15ec89fae23895ac