Add program main entry in apply_config.py

So make it easier to debug or run apply_config.py directly(no need to
install it).

Change-Id: Id0dad9cb02b81fd22d9868e686867af074aed966
Merge "Add program main entry in apply_config.py"