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.