Allow Grunt to run validation after compilation

Signed-off-by: Aniket Pant <me@aniketpant.com>
Fix horrible logical error

Signed-off-by: Aniket Pant <me@aniketpant.com>
Add better error catching

Signed-off-by: Aniket Pant <me@aniketpant.com>
Improved tests

Signed-off-by: Aniket Pant <me@aniketpant.com>
Update overall code

Signed-off-by: Aniket Pant <me@aniketpant.com>
Basic tests complete
Testing can be done easily now
Overlay function added to smoothen the process

Signed-off-by: Aniket Pant <me@aniketpant.com>