Add ability to Magic#flags_array to return name of each flag that is set.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>