added after blocks to remove photos saved to 'public/system'
implemented 'inverse_of' on photo/post associations
cleaning up specs