Move compararing function from common_layers to argmax_layer
Refactor the accuracy layer with std::partial_sort
Add more test cases for the accuracy layer