Fix a bug:
	1.Add more validation
	2.Array out index

Signed-off-by: Jinsong Li <jsli@marvell.com>
Add image validation in dtim

Signed-off-by: Jinsong Li <jsli@marvell.com>
Disable query filter

Signed-off-by: Jinsong Li <jsli@marvell.com>
Improvement

1.Add query mode
2.Use strict mode default, filter all items whose rel_path unmatched
	with path in dtim.

Signed-off-by: Jinsong Li <jsli@marvell.com>
Improvement:
	1.Add some error render APIs
	2.Optimize query process

Signed-off-by: Jinsong Li <jsli@marvell.com>