Add restful API controllers

Add specs and testing for restful API controllers
I feel like this is missing the word proposal.. ie: $scope.isActiveProposal.  Again.. is this the currently active proposal or is this the "selected" proposal? If it is the selected proposal (we already use active to mean 'in voting') can we rename it to isSelectedProposal?