Add support for maxmemory_percent, which sets Redis maxmeory as a perecentage of system memory. Add helper library.