Cross merging master changes into Revit 2015

Hi @junmendoza, could you make sure these are the right changes to merge into "Revit2015" branch? I know @theanh0512 changes are also in here, but please ignore those.