Allow memos and invoices that contain no pieces
Methods for querying closed and open memos
Include pieces in memo index queries
Add closed param to Memo api index

If the closed param is present, only closed memos will be returned.
Otherwise, only open memos are returned.
Merge pull request #88 from nightsprout/zam/issue_74

Support querying open/closed memos