Created by: wojtuss
This PR is a redesigned version of https://github.com/PaddlePaddle/Paddle/pull/13369/
This patch adds a C-API test for ResNet50 with support for MKL-DNN and fuses implemented using Pass.
Also, it adds support for choosing passes to be executed in a given order.
The environment flag FLAGS_use_mkldnn
is handled.
Different sequences of passes can be chosen in case MKL-DNN is enabled or not.
For now, only fake imagenet data is supported.