PLA-1641 adding "ref" support to API urls
PLA-1641 docs and cleanup
PLA-1641 Added unit tests
PLA-1641 cleanup
PLA-1641 cleanup
PLA-1641 missing urls
Merge branch 'PLA-1641' into PLA-1641b

Conflicts:
	extensions/wikia/WAM/controllers/api/WAMApiController.class.php
PLA-1641b unit tests cleanup
PLA-1641b unit tests cleanup
PLA-1641b unit tests cleanup
PLA-1641b code cleanup
Merge pull request #4200 from Wikia/PLA-1641b

Pla 1641b