Revert "Revert "Merge pull request #1766 from Wikia/BAC-709""

This reverts commit c4418ef5868032bd2b0d64d6b32e91fe7c64d88f.
Revert "Revert "Merge pull request #1868 from Wikia/DAR-2623""

This reverts commit a7472749868339df5af88b9ac1cea3707aededc9.
BAC-945 allow domain sharding in dev
BAC-709 account for domain sharding in prod/dev when figuring out a sass file path
added unit tests and change sharding identifier for dev boxes
purge site/user css/js on edit
added safety check in case something changes in the core func we are using
BAC-949: merge patch for 1.19.8
ADEN-654 Adding GhostWriter lib to resources/wikia/libraries (side by side with postscribe)
ADEN-654 PostScribe/GhostWriter switch
ADEN-654 More verbose logging
ADEN-654 Avoid PostScribe/Krux conflict
ADEN-653 SevenOne Media integration using PostScribe