Adding ajaxsetup ( for setting crstoken and using basic auth ) and
adding getcookie function.

Change-Id: I92cc6fcd61147c2218c004aca86ef89a55fd60a4
Signed-off-by: avimanutd <avimanutd@gmail.com>