In a practice that dates back centuries, communities are creating their own currencies to keep local economies strong and resilient.