Use standard types, consistent ifdef style everywhere

Remove the typedefs in stack/include/bt_types.h

Use standard types everywhere.
Use standard style for #if statements:
 - #if (VAR_NAME == TRUE)
 - #if (VAR_NAME1 == TRUE && VAR_NAME2 == TRUE)
Use __func__ instead of __FUNCTION__
Fix some debug statements to use __func__

Update script to be less disruptive to aligned assignment blocks.

Change-Id: I8f8f068e6c26ce74fd3b3707e1e31fd0b919cdd0
diff --git a/osi/include/socket.h b/osi/include/socket.h
index b27e681..2ba3f0c 100644
--- a/osi/include/socket.h
+++ b/osi/include/socket.h
@@ -109,4 +109,4 @@
 
 #ifdef __cplusplus
 }
-#endif
\ No newline at end of file
+#endif