Rename task -> thread and use main as the entry thread saving 512 bytes of RAM. Signed-off-by: Anas Nashif <anas.nashif@intel.com>