Fixes to make erorrs more visible.

This includes adding missing 'message' to exceptions and checking the status return value of the upload method.
Added a little more documentation.
add b, strong, em, italic tags to .wikitable td
BAC-308: template and messages
BAC-308: getting version in a way that works both on dev-box and in production
BAC-278: more info in debug log for missing revisions
Merge pull request #916 from Wikia/BAC-308

BAC-308
DAR-321: Mock memcache
Merge branch 'DAR-286' into dev
should be OR (not AND) in SQL query (BAC-303)
DAR-321: Mocked getIdsBlacklistedWikis method
Return 404 when nothing is found in SearchApi
Escape HTML characters - it'll remove some functionality but will not brake gallery
PLA-119 update grouping set to increment number of results when we have a match
PLA-119 added test for new grouping set logic
PLA-119 added logic to increment number of results found any time there is a match for ungrouped result sets too
Merge branch 'PLA-119' into dev
updated DefaultContent service to support infoboxes
PLA-352 -- update test for default content
PLA-352 updated infoboxes service to accommodate new data structure