fixed braces in metric path

If graphite is using Ceres database, metric path like testA.test{B,C}.val doesn't work. This patch implement expanding of all braces recursively.